package com.haiwen.boot.service;

import com.haiwen.boot.pojo.EmailModel;
import com.haiwen.boot.pojo.User;
import com.haiwen.boot.vo.ResultMap;

import java.util.Map;

public interface LoginAndRegisterService {
    //简单注册
    ResultMap Register(String username,String password,String VerificationCode);
    //简单验证
    Map<String,Object> Login(String username, String password);
    //验证码的发送
    ResultMap VerificationCode(String recieverName,String recieverEmailAddress);
    //登出
    ResultMap SignOut( String token);

}
